import service from '@/utils/service'
export function accountaddressList(params) {
  return service({
    url: '/api/system/account/address/list',
    method: 'get',
    params,
  })
}
// 提交新增地址
export function accountaddressAdd(data) {
  return service({
    type: 'json',
    url: '/api/system/account/address/add',
    method: 'post',
    data,
  })
}
// 提交修改地址
export function accountaddressModify(data) {
  return service({
    type: 'json',
    url: '/api/system/account/address/modify',
    method: 'post',
    data,
  })
}
// 提交删除地址
export function accountaddressDel(data) {
  return service({
    url: '/api/system/account/address/del',
    method: 'post',
    data,
  })
}
// 提交实体订单
export function submitOrderInfo(data) {
  return service({
    url: '/api/business/rmall/mobile/cart/order/submit',
    method: 'POST',
    data,
  })
}
